<div>
	<div class="row">
		<div class="col-xs-12 page-header">
			<h2><span class="glyphicon glyphicon-th"></span>报告总览</h2>
		</div>
		<div class="col-sm-6 col-md-3" ng-repeat="t in result.$resultList">
			<div class="panel panel-default tr-card activeCard">
				<div class="panel-body">
					<span class="pull-right">{{t.$env.browser.name}}</span>
					<div class="lead">{{t.$env.os.name}}</div>
					<span class="pull-right">失败：{{t.$overview.hasFailureNumber}}</span>
					<div>通过：{{t.$overview.allPassedNumber}}</div>
					<div class="pull-right text-success">
						{{t.$overview.allPassedNumber/t.$overview.totalTimes*100|number:1}}
						<span>%</span>
					</div>
					<div>{{t.$overview.testingMachineTime|date:'H:mm:ss.sss':'UTC'}}</div>
				</div>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-lg-12 page-header">
			<h2><span class="glyphicon glyphicon-th-list"></span>报告列表</h2>
		</div>
		<div class="col-lg-12">
			<table id="all-overview-table" class="table table-bordered table-condensed">
				<thead>
					<tr>
						<th style="width:300px;">用例名称</th>
						<th ng-repeat="r in result.$resultList"
							title="{{r.$env.ua}}">
							<div ng-class="r.$env.browser.name"></div>
	<!--							<div>{{r.$env.browser.name}} / {{r.$env.os.name}}</div>-->
						</th>
					</tr>
				</thead>
				<tbody class="text-center">
					<tr ng-repeat="case in task.schemas.caseList">
						<td class="text-left">
							<div class="caseName">
								<div><span>#{{$index}}</span>
									<a ng-href="#{{baseUrl}}/case/{{$index}}">{{case.name}}</a></div>
							</div>
						</td>
						<td ng-repeat="r in result.$resultList"
							class="case-result"
							ng-click="jumpto($index, $parent.$index)"
							ng-class="{F:!r.$caseResultList[$parent.$index].$overview.isAllPassed}">
							{{r.$caseResultList[$parent.$index].$overview.isAllPassed?'':'F'}}
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
